Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ingesting multi-night ImageCollections #46

Merged
merged 5 commits into from
Oct 25, 2024
Merged

Conversation

wilsonbb
Copy link
Collaborator

@wilsonbb wilsonbb commented Oct 15, 2024

Provides a new multi_night_workflow which ingests ImageCollections with a specified heliocentric guess distance and common WCS.

Here we're pulling a common WCS to resample to from an ImageCollection's "global_wcs" column, and we the heliocentric guess distances for the resampling are specified in the "helio_guess_dists" field in the parsl runtime_config.

Note that the original reprojection task used in other legacy workflows is preserved in src/kbmod_wf/task_impls/reproject_multi_chip_multi_night_from_uris.py however we may want to consider consolidating/eliminating these older workflows now that we have ways to convert our old URI-based .lst files to standard ImageCollections.

Note that while we're reusing the ic_to_wu task functions for converting the ImageCollection to a WorkUnit, we've combined them into the reprojection step so that we're only loading the WorkUnit when reprojecting it. This means we are also not saving the original WorkUnit to disk since that is expensive and it can be reconstructed from the ImageCollection.

@wilsonbb wilsonbb marked this pull request as ready for review October 22, 2024 19:50
Copy link
Collaborator

@drewoldag drewoldag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, I think this looks pretty good. I'm sure that I know the answer already, but I'm assuming that you've run start to finish and have seen it work correctly?

src/kbmod_wf/multi_night_workflow.py Outdated Show resolved Hide resolved
src/kbmod_wf/workflow_tasks/kbmod_search.py Show resolved Hide resolved
@wilsonbb
Copy link
Collaborator Author

Overall, I think this looks pretty good. I'm sure that I know the answer already, but I'm assuming that you've run start to finish and have seen it work correctly?

Yep! Just did another run to verify after the changes

Copy link
Collaborator

@drewoldag drewoldag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for putting this together!

@wilsonbb wilsonbb merged commit 839763b into main Oct 25, 2024
1 of 6 checks passed
@wilsonbb wilsonbb deleted the mulit_night branch October 25, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants